Optimal. Leaf size=262 \[ -\frac{\left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \left (\sqrt{a} B-A \sqrt{c}\right ) \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right ),\frac{1}{2}\right )}{4 a^{5/4} c^{3/4} \sqrt{a+c x^4}}+\frac{B \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 a^{3/4} c^{3/4} \sqrt{a+c x^4}}+\frac{x \left (A+B x^2\right )}{2 a \sqrt{a+c x^4}}-\frac{B x \sqrt{a+c x^4}}{2 a \sqrt{c} \left (\sqrt{a}+\sqrt{c} x^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0964995, antiderivative size = 262, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.21, Rules used = {1179, 1198, 220, 1196} \[ -\frac{\left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \left (\sqrt{a} B-A \sqrt{c}\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{4 a^{5/4} c^{3/4} \sqrt{a+c x^4}}+\frac{B \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 a^{3/4} c^{3/4} \sqrt{a+c x^4}}+\frac{x \left (A+B x^2\right )}{2 a \sqrt{a+c x^4}}-\frac{B x \sqrt{a+c x^4}}{2 a \sqrt{c} \left (\sqrt{a}+\sqrt{c} x^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1179
Rule 1198
Rule 220
Rule 1196
Rubi steps
\begin{align*} \int \frac{A+B x^2}{\left (a+c x^4\right )^{3/2}} \, dx &=\frac{x \left (A+B x^2\right )}{2 a \sqrt{a+c x^4}}-\frac{\int \frac{-A+B x^2}{\sqrt{a+c x^4}} \, dx}{2 a}\\ &=\frac{x \left (A+B x^2\right )}{2 a \sqrt{a+c x^4}}+\frac{\left (A-\frac{\sqrt{a} B}{\sqrt{c}}\right ) \int \frac{1}{\sqrt{a+c x^4}} \, dx}{2 a}+\frac{B \int \frac{1-\frac{\sqrt{c} x^2}{\sqrt{a}}}{\sqrt{a+c x^4}} \, dx}{2 \sqrt{a} \sqrt{c}}\\ &=\frac{x \left (A+B x^2\right )}{2 a \sqrt{a+c x^4}}-\frac{B x \sqrt{a+c x^4}}{2 a \sqrt{c} \left (\sqrt{a}+\sqrt{c} x^2\right )}+\frac{B \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 a^{3/4} c^{3/4} \sqrt{a+c x^4}}+\frac{\left (A-\frac{\sqrt{a} B}{\sqrt{c}}\right ) \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{4 a^{5/4} \sqrt [4]{c} \sqrt{a+c x^4}}\\ \end{align*}
Mathematica [C] time = 0.0417099, size = 99, normalized size = 0.38 \[ \frac{3 A x \sqrt{\frac{c x^4}{a}+1} \, _2F_1\left (\frac{1}{4},\frac{1}{2};\frac{5}{4};-\frac{c x^4}{a}\right )+2 B x^3 \sqrt{\frac{c x^4}{a}+1} \, _2F_1\left (\frac{3}{4},\frac{3}{2};\frac{7}{4};-\frac{c x^4}{a}\right )+3 A x}{6 a \sqrt{a+c x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.004, size = 217, normalized size = 0.8 \begin{align*} B \left ({\frac{{x}^{3}}{2\,a}{\frac{1}{\sqrt{ \left ({x}^{4}+{\frac{a}{c}} \right ) c}}}}-{{\frac{i}{2}}\sqrt{1-{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}} \left ({\it EllipticF} \left ( x\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}},i \right ) -{\it EllipticE} \left ( x\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}},i \right ) \right ){\frac{1}{\sqrt{a}}}{\frac{1}{\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{c{x}^{4}+a}}}{\frac{1}{\sqrt{c}}}} \right ) +A \left ({\frac{x}{2\,a}{\frac{1}{\sqrt{ \left ({x}^{4}+{\frac{a}{c}} \right ) c}}}}+{\frac{1}{2\,a}\sqrt{1-{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{c{x}^{4}+a}}}} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x^{2} + A}{{\left (c x^{4} + a\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{c x^{4} + a}{\left (B x^{2} + A\right )}}{c^{2} x^{8} + 2 \, a c x^{4} + a^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 8.42081, size = 78, normalized size = 0.3 \begin{align*} \frac{A x \Gamma \left (\frac{1}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{4}, \frac{3}{2} \\ \frac{5}{4} \end{matrix}\middle |{\frac{c x^{4} e^{i \pi }}{a}} \right )}}{4 a^{\frac{3}{2}} \Gamma \left (\frac{5}{4}\right )} + \frac{B x^{3} \Gamma \left (\frac{3}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{3}{4}, \frac{3}{2} \\ \frac{7}{4} \end{matrix}\middle |{\frac{c x^{4} e^{i \pi }}{a}} \right )}}{4 a^{\frac{3}{2}} \Gamma \left (\frac{7}{4}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x^{2} + A}{{\left (c x^{4} + a\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]